package aop.test.advice;

import cn.stimd.spring.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * Created by Stimd
 * 项目地址：https://gitee.com/stimd/spring-wheel
 * 公众号：Java编程探微
 */
public class SimpleAfterReturningAdvice implements AfterReturningAdvice {

    @Override
    public void afterReturning(Object retVal, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("返回通知，方法名：" + method.getName());
    }
}
